package test.day03;

import java.util.Scanner;

public class test08 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();


        if(n < 2){
            System.out.println("false");
        }

        for(int i = 2; i < n; i++){
            if(n % i == 0){
                System.out.println("false");
            }
        }


    }
}
